﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    class Father
    {
        public virtual string speak()
        {
           return "在父类中调用speak()方法";
        }
        public string smile()
        {
            return "今天天气真好！";
        }

    }
}
